<template>
<div>
<Child>
<!-- <template #head>
  <div>我是头部</div>
</template>
  <template #main>
  <div>我是中</div>
  </template>
  <template></template>
  <template #footer>
    <div>我是尾</div>
  </template> -->
 <template v-slot="{user}">
  {{user.firstname}}
 </template>
</Child>
</div>
</template>

<script>
import Child from './compon/childdemo.vue'
export default {
  components: {
    Child
  }
}
</script>

<style>

</style>
